home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2034 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.8 KB  |  37 lines

  1. Newsgroups: hku.open-forum,hku.cc.forum,hk.comp.pc,comp.lang.c++,comp.lang.pascal.misc
  2. Path: hkusuc.hku.hk!pc
  3. From: kong@hkusua.hku.hk (someone)
  4. Subject: Re: Is Pascal worth to learn? Can it help me to get a job?
  5. X-Nntp-Posting-Host: 147.8.35.29
  6. Message-ID: <4dcrl0$7mo_001@news.hku.hk>
  7. Sender: usenet@hkusuc.hku.hk
  8. Organization: The University of Hong Kong
  9. X-Newsreader: News Xpress Version 1.0 Beta #4
  10. References: <30f2adf8.7810115@news.hku.hk> <DL2tFM.7DJ@hkuxb.hku.hk>
  11. Date: Mon, 15 Jan 1996 06:19:12 GMT
  12.  
  13. In article <DL2tFM.7DJ@hkuxb.hku.hk>, hwslau@dragon.cs.hku.hk (│t└s) wrote:
  14. >In general, I think Pascal is a good programming language to start with.  
  15. >At least, it is designed for education purposes.  Apart from Basic, Pascal
  16. >was my first programming language learnt.  After that, picking up other 
  17. >structured prog. lang. would not be very difficult.  In fact, I think you 
  18. >can use Pascal to do anything you want instaed of using other lang.  
  19.  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  20.  
  21. I can't agree with this. There are things that you simply can't do in Pascal. 
  22. For example, in C I can swap two integers a and b without using a temporary
  23. variable in three statements: a ^= b; b ^= a; a^= b , I can also use bit-vectors.
  24. I can have generic pointers that may point to everything or nothing. I can have 
  25. arrays with no compile-time defined sizes. AFAIK there are no way of doing such
  26. things in Pascal. At least not in standard Pascal. There are also many fallbacks
  27. in Pascal that are inconvenient for programmers, e.g. no break within loops. 
  28. That's why there are things like Modula-2.
  29.  
  30. For the original poster, so far I have only seen one employer in Hong Kong that
  31. specifically requires Pascal. It's one of those news agencies. And believe it or
  32. not, they use VAX!!
  33.  
  34.    
  35.  
  36. -- All opinions are mine, they do not reflect standings of my employer.
  37.